package BIgnumber;

import java.util.Scanner;

public class phoneaddkey {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);//15889613539
        String phonenumber = sc.next();
        String star = phonenumber.substring(0,3);//截左不截右158
        String end = phonenumber.substring(7);//从3539
        String result ="";
        result = star + "****" +end;
        System.out.println(result);
    }
}
